//
//  MyAdvisoryOrderFinishDiagnoseCell.swift
//  EyeVisionForPatients
//
//  Created by qdsg on 2020/4/11.
//  Copyright © 2020 QDSG. All rights reserved.
//

import UIKit

class SERegistrationConfirmInfoCell: UITableViewCell {

    static let className = "SERegistrationConfirmInfoCell"
    static let reuseId = className
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
    
    func updateCell(numItem: SERegistrationNumItem, doctorShift: SERegistrationDoctorShift) {
        infoLabel.text = doctorShift.deptName
        descriptionLabel.text = doctorShift.doctorName
        diagnoseLabel.text = "\(doctorShift.shiftDate) \(doctorShift.registerPeriod)"
        adviseLabel.text = "序号\(numItem.number) \(numItem.sourceTime)"
        timeLabel.text = "\(numItem.fee)元"
    }
    
//    func updateForRegistration(doctorVm: DoctorDetailViewModel, scheduleVm: DoctorScheduleViewModel, registrationListVm: CloudReserveDateListViewModel) {
//        infoTitleLabel.text = "就诊科室"
//        descriptionTitleLabel.text = "预约医生"
//        diagnoseTitleLabel.text = "就诊日期"
//        adviseTitleLabel.text = "候诊时间"
//        timeTitleLabel.text = "号源价格"
//        infoLabel.text = scheduleVm.departmentName
//        descriptionLabel.text = doctorVm.doctorName
//        diagnoseLabel.text = scheduleVm.scheduleTime
//        diagnoseLabel.textColor = .main
//        adviseLabel.attributedText = registrationListVm.scheduleTimeText()
//        timeLabel.text = scheduleVm.regFee + "元"
//        timeLabel.textColor = .warning
//    }
    
    @IBOutlet weak var infoLabel: UILabel!
    @IBOutlet weak var descriptionLabel: UILabel!
    @IBOutlet weak var diagnoseLabel: UILabel!
    @IBOutlet weak var adviseLabel: UILabel!
    @IBOutlet weak var timeLabel: UILabel!
    
    
    @IBOutlet weak var infoTitleLabel: UILabel!
    @IBOutlet weak var descriptionTitleLabel: UILabel!
    @IBOutlet weak var diagnoseTitleLabel: UILabel!
    @IBOutlet weak var adviseTitleLabel: UILabel!
    @IBOutlet weak var timeTitleLabel: UILabel!
    

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
